package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import java.time.LocalTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录初访员和咨询师的值班时间

 * </p>
 *
 * @author cft
 * @since 2022-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DutyTime对象", description="记录初访员和咨询师的值班时间")
public class DutyTime extends Model<DutyTime> {

    private static final long serialVersionUID = 1L;

    @TableId("period_id")
    private Integer periodId;

    private Long dutyTeacherId;

    private String dutyTeacherType;

    private String dutyName;

    private LocalTime dutyStartTime;

    private LocalTime dutyEndTime;

    private Integer dutyWeekday;

    private String dutyPlace;

    private LocalDate dutyDate;

    private String dutyStatus;


    @Override
    protected Serializable pkVal() {
        return this.periodId;
    }

}
